#works with version 1.2.8
DEFAULT_LEANUX_PREFIX=/usr

pkg_configure(){
	export prefix=${LEANUX_PREFIX}
	#Will have static and dynamic libs
	./configure
}

pkg_compile(){
	make ${MAKE_JOBS}
}

pkg_install(){
	make ${MAKE_JOBS} install

	rm -f ${LEANUX_PREFIX}/lib/libz.a
}

files_and_dirs="
lib
lib/libz.so.1.2.8
lib/libz.so.1
lib/pkgconfig
lib/pkgconfig/zlib.pc
lib/libz.so
include
include/zlib.h
include/zconf.h
share
share/man
share/man/man3
share/man/man3/zlib.3"
